package com.vizhuo.client.business.match.goods.request;

import java.io.Serializable;
import java.util.Date;

import com.vizhuo.client.base.AbstractRequest;

/**
 * 
 * @ClassName: AssignedRunRequest
 * @Description: 指派承运人
 * @author TANDP
 * @date 2015-7-9 下午1:56:12
 * 
 */
public class AssignedRunRequest extends AbstractRequest implements Serializable {

    /**
     * 抢单表id-客户端不用传
     */
    private Long orderId;//

    /**
     * 抢单记录id
     */
    private Long orderRobId;

    /**
     * 发货人id
     */
    private Integer goodsAccountId;

    /**
     * 发货货源id
     */
    private Long goodsId;

    /**
     * 抢单人id
     */
    private Integer driverId;

    /**
     * 货源编号
     */
    private String orderNo;

    /**
     * 货源状态
     */
    private String state;

    /**
     * 创建时间
     */
    protected Date createDatetime;

    /**
     * 最后修改时间
     */
    protected Date lastModifyDatetime;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public AssignedRunRequest(int appType, String loginToken, String uMengdeviceToken, String userName) {
        super(appType, loginToken, uMengdeviceToken, userName);
    }

    public AssignedRunRequest() {
        super();
    }

    /**
     * 
     */
    private static final long serialVersionUID = -4932157262760450312L;

    /**
     * 抢单记录id
     * 
     * @return
     */
    public Long getOrderRobId() {
        return orderRobId;
    }

    /**
     * 抢单记录id
     * 
     * @param orderRobId
     */
    public void setOrderRobId(Long orderRobId) {
        this.orderRobId = orderRobId;
    }

    /**
     * 发货人id
     * 
     * @return
     */
    public Integer getGoodsAccountId() {
        return goodsAccountId;
    }

    /**
     * 发货人id
     * 
     * @param goodsAccountId
     */
    public void setGoodsAccountId(Integer goodsAccountId) {
        this.goodsAccountId = goodsAccountId;
    }

    /**
     * 发货货源id
     * 
     * @return
     */
    public Long getGoodsId() {
        return goodsId;
    }

    /**
     * 发货货源id
     * 
     * @param goodsId
     */
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 抢单人id
     * 
     * @return
     */
    public Integer getDriverId() {
        return driverId;
    }

    /**
     * 抢单人id
     * 
     * @param driverId
     */
    public void setDriverId(Integer driverId) {
        this.driverId = driverId;
    }

    /**
     * 货源编号
     * 
     * @return
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * 货源编号
     * 
     * @param orderNo
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Date getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(Date createDatetime) {
        this.createDatetime = createDatetime;
    }

    public Date getLastModifyDatetime() {
        return lastModifyDatetime;
    }

    public void setLastModifyDatetime(Date lastModifyDatetime) {
        this.lastModifyDatetime = lastModifyDatetime;
    }

}
